#ifndef _EXIT_H_ 
#define _EXIT_H_ 

#include "stm32f10x.h"                  // Device header
#include "mygpio.h"

#define LED0 PAout(0)

extern u8 key_val;

void exit_config(uint8_t GPIO_PortSource, uint8_t GPIO_PinSource,uint32_t EXTI_Linex,EXTITrigger_TypeDef EXTI_Trigger,uint8_t EXTIx_IRQn);
void tim4_exit_init(u16 per,u16 psc);

extern u8 key_val;

#endif
